//
//  ChildViewCell011.m
//  PosApp
//
//  Created by 李英新 on 2018/11/18.
//  Copyright © 2018 李英新. All rights reserved.
//

#import "ChildViewCell011.h"

@implementation ChildViewCell011

- (void)setModel:(ChildModel01 *)model{
    self.ChangeLabel.layer.cornerRadius = 4;
    self.ChangeLabel.layer.masksToBounds = YES;
    self.CellClassLabel.text = [NSString stringWithFormat:@"%@",model.pos_name];
    [self.POSImage sd_setImageWithURL:[NSURL URLWithString:model.pos_pic] placeholderImage:[UIImage imageNamed:@"MainZWImage"]];
    self.CellLabel01.text = [NSString stringWithFormat:@"%@",model.pos_name];
    self.SNLabel.text = [NSString stringWithFormat:@"POS SN：%@",model.pos_sn];
    self.CodeLabel.text = [NSString stringWithFormat:@"%@",model.pos_id];
}
- (IBAction)ClickOnBtnOfNoBtn:(id)sender {
    [self.delegate ClickOnBtnToPushChangeControllerWithCellID:self.tag];
}



- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
